﻿<local:BaseDataVisualizer
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	x:Class="BrainTechLLC.Silverlight.ClientApplication.EditBasicTemplate"	    
    xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.ClientApplication">
    <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Name="gridData" Background="#FFFFFFFF">
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <ContentControl Content="Created Object Type Name:" Style="{StaticResource TextBlockContentStyle}"/>
            <TextBox Margin="140,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Text="{Binding Mode=TwoWay, Path=TypeName}" Style="{StaticResource TextBoxNoScroller}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <ContentControl Content="Friendly Name:" Style="{StaticResource TextBlockContentStyle}"/>
            <TextBox Margin="140,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Text="{Binding Mode=TwoWay, Path=FriendlyName}"  Style="{StaticResource TextBoxNoScroller}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <local:DataVisualizer Name="properties" Width="Auto" HorizontalAlignment="Stretch" Height="Auto"
                                      local:WindowContainer.IsOpen="False" VerticalAlignment="Top"                                      
                                      WindowlessMode="True" Owner="{Binding}"
                                      IsCollection="True" VisualizerName="ShowPropertiesControl" 
                                      Template="{StaticResource WinContainer}" DataToVisualize="{Binding Mode=OneWay, Path=ObservableProperties}" DescriptionTextString="Template Properties" WindowBorder="#FF8F0053" />
        </Grid>
    </StackPanel>
</local:BaseDataVisualizer>